home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Background Scroller.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
674b
|
37 lines
[SUBJECT]
Description=The background image is actually scrolled on the page
ImageIndex=-1
Folder=Graphical Effects
[HEAD_TEXT]
[BODY_TEXT]
;<script language="JavaScript">
;<!-- Begin
;var backgroundOffset = 0;
;var bgObject = eval('document.body');
;bgObject.background="`image`";
;
;function scrollBG(maxSize) {
;backgroundOffset = backgroundOffset + 1;
;if (backgroundOffset > maxSize) backgroundOffset = 0;
;bgObject.style.backgroundPosition = "0 " + backgroundOffset;
;}
;var ScrollTimer = window.setInterval("scrollBG(307)", `timeout`);
;// End -->
;</script>
[`image`]
Kind=U
Value=image1.gif
[`timeout`]
Kind=N
Value=100